package com.nstar.splus.model
{
	/**
	 * 解析网页上话题信息，存储话题信息
	 * 
	 */ 
	public class TopicVO
	{
		public var topic:String;
		public var topicUrl:String;
		
		public function TopicVO()
		{
		}
		
		public function toString():String{
			return "topic="+topic+",topicUrl="+topicUrl+"\n";
		}
		
		//列表中是否存在指定话题
		public static function exists(value:TopicVO,list:Array):Boolean{
			for each(var vo:TopicVO in list){
				if(vo.topic == value.topic){
					return true;
				}
			}
			return false;
		}

	}
}